package com.jinlejia.bbs.bean;

import com.jinlejia.bbs.bean.base.BBSUserBean;
import com.jinlejia.bbs.bean.base.InformationBean;

/**
 * @author 王进 on 2019/3/18.
 */
//评论实体类
public class CommentBean {
    /**
     * 评论类型
     */
    public static final int ACTION_COMMENT = 0;
    /**
     * 点赞
     */
    public static final int ACTION_LIKE = 1;

    /**
     * 回答
     */
    public static final int ACTION_REPLY = 2;

    private BBSUserBean commentedUser; //被评论用户
    private InformationBean commentedInfo; //被评论用户的发言

    private InformationBean commentInfo; //评论的信息
    private BBSUserBean commentUser; //评论用户
    private String topicCode;
    private String objectId;
    private int commentAction;
    private boolean ignore; //是否忽略 true:已忽略 false:未忽略

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public boolean isIgnore() {
        return ignore;
    }

    public void setIgnore(boolean ignore) {
        this.ignore = ignore;
    }

    public String getTopicCode() {
        return topicCode;
    }

    public void setTopicCode(String topicCode) {
        this.topicCode = topicCode;
    }

    public int getCommentAction() {
        return commentAction;
    }

    public void setCommentAction(int commentAction) {
        this.commentAction = commentAction;
    }

    public BBSUserBean getCommentedUser() {
        return commentedUser;
    }

    public void setCommentedUser(BBSUserBean commentedUser) {
        this.commentedUser = commentedUser;
    }

    public InformationBean getCommentedInfo() {
        return commentedInfo;
    }

    public void setCommentedInfo(InformationBean commentedInfo) {
        this.commentedInfo = commentedInfo;
    }

    public InformationBean getCommentInfo() {
        return commentInfo;
    }

    public void setCommentInfo(InformationBean commentInfo) {
        this.commentInfo = commentInfo;
    }

    public BBSUserBean getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(BBSUserBean commentUser) {
        this.commentUser = commentUser;
    }
}
